﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.TargetAreaViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> &middot; Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Create Target Area</h1>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        <fieldset id="ta_create">
            <%= Html.EditorFor(model => model.TargetArea, new { Countries = Model.Countries }) %>

            <p class="enlaces">
                <a href="#" onclick="document.forms[0].submit()" > Create </a>
                <%= Html.ActionLink("Back to program", "Details", "Program", new { id = ViewContext.RouteData.Values["programid"] }, null)%>
            </p>
            
        </fieldset>

    <% } %>


</asp:Content>

